function [nNew] = updateUnknownValues (n, val)
[~, len] = size (n);
nNew = n;
for i = 1:len
    for j = 1:len
        if (n(i,j) == val)
            nNew(i,j) = n(j,i);
        end
    end
end
